'------------------------------------------------------------------------------
' <autogenerated>
'     This code was generated by a tool.
'     Runtime Version: 1.0.2723.0
'
'     Changes to this file may cause incorrect behavior and will be lost if 
'     the code is regenerated.
' </autogenerated>
'------------------------------------------------------------------------------

Option Strict On
Option Explicit On

Imports System
Imports System.Web.Services
Imports System.Web.Services.Protocols
Imports System.Xml.Serialization

'
'This source code was auto-generated by wsdl, Version=1.0.2723.0.
'

Public Class BarnesAndNoble
    Inherits System.Web.Services.Protocols.HttpGetClientProtocol
    
    Public Sub New()
        MyBase.New
        Me.Url = "http://shop.barnesandnoble.com"
    End Sub
    
    Public Function <System.Web.Services.Protocols.HttpMethodAttribute(GetType(System.Web.Services.Protocols.TextReturnReader), GetType(System.Web.Services.Protocols.UrlParameterWriter))> GetBookDetails(ByVal isbn As String) As GetBookDetailsMatches
        Return CType(Me.Invoke("GetBookDetails", (Me.Url + "/booksearch/isbnInquiry.asp"), New Object() {isbn}),GetBookDetailsMatches)
    End Function
    
    Public Function BeginGetBookDetails(ByVal isbn As String, ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult
        Return Me.BeginInvoke("GetBookDetails", (Me.Url + "/booksearch/isbnInquiry.asp"), New Object() {isbn}, callback, asyncState)
    End Function
    
    Public Function EndGetBookDetails(ByVal asyncResult As System.IAsyncResult) As GetBookDetailsMatches
        Return CType(Me.EndInvoke(asyncResult),GetBookDetailsMatches)
    End Function
End Class

Public Class GetBookDetailsMatches
    
    Public <System.Web.Services.Protocols.MatchAttribute("size=.-1.>sales rank:.(.*?)</", IgnoreCase:=true)> Rank As String
End Class
